package com.hangzhou.xyj.utils.constants;

import com.hangzhou.xyj.model.DianDramaModel;
import com.hangzhou.xyj.model.DramaModel;
import com.hangzhou.xyj.model.DynamicDetailModel;
import com.hangzhou.xyj.model.type.EIntentTagType;
import com.hangzhou.xyj.model.type.EPlayControlType;
import com.mediaideas.videoengine.MediaPlaybackService;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Jonathan Kranz on 2016/3/10.
 */
public class AppConstants {
    // 文件名
    public final static String APP_DIR_NAME = "XiYouJi";
    //
    public final static String FILE_SEPARATOR = File.separator;
    //
    public final static String APP_LOG_DIR_NAME = ".log";
    //
    public final static String APP_SOUND_DIR_NAME = "sound";
    // crash log文件
    public final static String CRASH_LOG_FILE = "Crash_Log_File";
    // feedback邮箱
    public static final String FEEDBACK_EMAIL_ADDRESS = "xieming.android@gmail.com";
    // 伴奏
    public static final String DEFAULT_ACCOMPANY_NAME = "Accompany";
    private final static String TAG = "AppConstants";
    //当前正在播放的戏曲id
    public static String PLAYING_DRAMA_ID = "";
    // 原唱
    public static String DEFAULT_NATIVE_NAME = "Native";
    //原唱
    public static String DEFAULT_NATIVE_URL = "";
    //伴奏
    public static String DEFAULT_ACCOMPANY_URL = "";
    //歌词
    public static String DEFAULT_LYRIC_URL = "";
    //歌曲列表
    public static List<DramaModel> PLAY_LIST = new ArrayList<>();
    //当前播放的pos
    public static int CURRENT_PLAY_POSITION = 0;
    //当前播放状态
    public static EPlayControlType CURRENT_PLAY_STATE = EPlayControlType.PAUSE;//初始化为暂停
    //当前播放的总时长
    public static long CURRENT_DURATION;
    //暂停的位置
    public static long CURRENT_POSITION;
    //当前播放的文件的url
    public static String CURRENT_URL;
    //
    public static EIntentTagType CURRENT_TAG_TYPE;
    //
    private static DianDramaModel CURRENT_DIAN_DRAMA_MODEL;//当前正在播放的戏曲model
    //
    private static DynamicDetailModel CURRENT_DRAMA_INFO;

    private static MediaPlaybackService PLAY_SERVICE;//播放的service
}
